package com.codejie.pms.entity;

import org.springframework.format.annotation.DateTimeFormat;

import javax.xml.crypto.Data;
import java.util.Date;

public class StaffKpi {
    private String staffId;
    private String projectId;
    private String projectName;
    private String completion;
    private int absence;
    private Double GPA;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date proStartDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date proEndDate;
    private String advice;

    public void setGPA(Double GPA) {
        this.GPA = GPA;
    }

    public String getAdvice() {
        return advice;
    }

    public void setAdvice(String advice) {
        this.advice = advice;
    }

    public String getStaffId(){ return staffId; }

    public void setStaffId(String staffId){
        this.staffId=staffId;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getCompletion() {
        return completion;
    }

    public void setCompletion(String completion) {
        this.completion = completion;
    }

    public int getAbsence() {return absence;}

    public void setAbsence(int absence){this.absence=absence;}

    public Double getGPA(){ return GPA;}

    public void setGPA(double GPA){this.GPA=GPA;}

    public Date getProStartDate() { return this.proStartDate;}

    public void setProStartDate(Date proStartDate) {this.proStartDate=proStartDate;}

    public Date getProEndDate() { return this.proEndDate;}

    public void setProEndDate(Date proEndDate) {this.proEndDate=proEndDate;}

}
